import t2 from './pagination2.vue';
import t3 from './pagination3.vue';
import Vue from 'vue';
const reg1 = /^2\.7\.\d+/;
const reg2 = /^3\.\d+\.\d+/;
const is27 = reg1.test(Vue.version) || reg2.test(Vue.version);
const com = is27 ? t3 : t2;
com.install = function(Vue) {
  Vue.component(com.name ||'HaPagination', com);
};

export default com;
